package com.jihu.design.behavioral.state;

/**
 * @author jihu
 * @date 2021/9/28
 */
public class MainTest {

    public static void main(String[] args) {
        SKTTeam sktTeam = new SKTTeam();
        VocationState state = new VocationState();
        sktTeam.setTeamState(state);

        sktTeam.startGame();

        sktTeam.nextState();

        sktTeam.startGame();

        sktTeam.nextState();

        sktTeam.startGame();

    }
}
